#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Processes;
using Cephei.QL;
namespace Cephei.QL.Instruments
{
     // <summary> 
	// ! \ingroup instruments
	// </summary>
    [Guid ("DA462BA8-41C8-4478-B97A-1CF123A9B0CF"),ComVisible(true)]
	public interface IVanillaOption : Cephei.QL.Instruments.IOneAssetOption
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Double ImpliedVolatility(Double price, Cephei.QL.Processes.IGeneralizedBlackScholesProcess process, Microsoft.FSharp.Core.FSharpOption<Double> accuracy, Microsoft.FSharp.Core.FSharpOption<UInt64> maxEvaluations, Microsoft.FSharp.Core.FSharpOption<Double> minVol, Microsoft.FSharp.Core.FSharpOption<Double> maxVol);
    }

    // <summary> 
	// ! \ingroup instruments Factory
	// </summary>
   	[ComVisible(true)]
    public interface IVanillaOption_Factory // : Collection_Factory<IVanillaOption, ICell<IVanillaOption>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IVanillaOption Create (Cephei.QL.Instruments.IStrikedTypePayoff payoff, Cephei.QL.IExercise exercise, Cephei.QL.IPricingEngine QL_Pricer);
    }
}

